package com.ruoyi.order.api;


import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId ="remoteCfServiceSort", value = ServiceNameConstants.SERVICE_SERVICE)
public interface RemoteCfServiceSort {
    @GetMapping(value = "/sort/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id);
}
